package routers

import "github.com/gin-gonic/gin"

// RegisterMenuRoutes 注册菜单管理路由
func (pr *ProtectedRoutes) RegisterMenuRoutes(protected *gin.RouterGroup) {
	// 菜单管理
	menus := protected.Group("/menu")
	{
		menus.GET("", pr.menuController.GetUserMenus)
		menus.POST("/default", pr.menuController.CreateDefaultMenus)
	}
}
